package com.cstz.hb.manage.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author bo.deng
 * @Project: xy_article
 * @Package com.cstz.hb.manage.domain
 * @Description:
 * @date 2020/10/21  17:15
 */
@Data
public class SysDept {

    private Long id;

    private Long parentId;

    private String name;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifyTime;

    private int deptType;

    private List<SysDept> subDepts;
}
